package com.sc.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

@Data
public class RepairVO {
    @ApiModelProperty(value = "主键", example = "1")
    private Integer id;

    @ApiModelProperty(value = "房屋", example = "一单元101A")
    private String home;

    @ApiModelProperty(value = "住户", example = "张三")
    private String person;

    @ApiModelProperty(value = "维修项目", example = "家电-电视机")
    private String project;

    @ApiModelProperty(value = "标题", example = "电视剧黑屏")
    private String title;

    @ApiModelProperty(value = "预约日期", example = "2024/11/29")
    @JsonFormat(shape = JsonFormat.Shape.STRING ,pattern = "yyyy/MM/dd")
    private LocalDate appointDate;

    @ApiModelProperty(value = "问题附件，图片路径", example = "https://hcxy-web-tilas.oss-cn-beijing.aliyuncs.com/f35f98ff-c425-4d5e-8ee1-d68a3d7df061.jpg")
    private String addImage;

    @ApiModelProperty(value = "维修状态", example = "2")
    private String status;
}
